#pragma once
#include "IRunnable.h"
#include "CommandDispatcher.h"


namespace bs
{
	class CmdDispatchProcess : public IRunnable
	{
	public:
		virtual void Run(int id, size_t time, size_t frames, size_t elapse, void* userData)
		{
			CommandDispatcher::Instance().Dispatch();
		}
	};
}